package net.mxox.app.financeweb.bo.impl;

import java.util.List;

import net.mxox.app.financeweb.bo.IAccountManager;
import net.mxox.app.financeweb.dao.IAccountDao;
import net.mxox.app.financeweb.dto.Account;

public class AccountManager implements IAccountManager {
	
	private IAccountDao accountDao;

	public void createAccount(Account account) {
		accountDao.createAccount(account);
	}

	/* (non-Javadoc)
	 * @see net.mxox.app.financeweb.bo.IAccountManager#listAccount()
	 */
	public List<Account> listAccount() {
		return accountDao.listAccount();
	}

	public void setAccountDao(IAccountDao accountDao) {
		this.accountDao = accountDao;
	} 

}
